package com.xjd.edu.course.service.book;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@ResponseBody
@FeignClient(name = "xjd-edu-learning-course", path ="/com.xjd.edu.course.service.book.BookInfoService",contextId = "bookInfoService")
public interface BookInfoService {

    @PostMapping("/getBookInfo")
    String getBookInfo();

    @PostMapping("/getBookInfoList")
    String getBookInfoList();
}
